package com.matrix.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 有点甜
 * @since 2025/8/10
 */
@Getter
public enum ApplicationStatusEnum {
    PENDING(0, "审核中"),
    APPROVED(1, "审核通过"),
    REJECTED(2, "审核未通过");

    @EnumValue
    private final int code;

    @JsonValue
    private final String description;

    ApplicationStatusEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
